﻿using System;
using System.Collections.Generic;
using ZhaJinHua.Data.Entities;

namespace ZhaJinHua.Data
{
    public class Room
    {
        public static List<Room> rooms = new List<Room>(); 


        public Game CurrentGame { get; private set; }
        
        public GroupInfo GroupInfo { get;private set; }

        public Room(GroupInfo group)
        {
            if (group == null) throw new Exception();
            GroupInfo = group;
        }
    }
}